﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Budget.WCF;

namespace Budget.UnitTests.WCF.DIObjects
{
	public class DIMthCategoryServiceWrapper : IMthCategoryService
	{
		IMthCategoryService svc;

		public DIMthCategoryServiceWrapper( IMthCategoryService service )
		{
			svc = service;
		}

		#region IMthCategoryService Members

		public IList<Budget.DataAccess.MthCategory> GetAll()
		{
			return svc.GetAll();
		}

		public IList<Budget.DataAccess.MthCategory> GetByMonth( int MthId )
		{
			return svc.GetByMonth( MthId );
		}

		public void Save( Budget.DataAccess.MthCategory monthCategory )
		{
			svc.Save( monthCategory );
		}

		public void Delete( int MthCategoryId )
		{
			svc.Delete( MthCategoryId );
		}

		public Budget.DataAccess.MthCategory GetByMthCategoryId( int MthCategoryId )
		{
			return svc.GetByMthCategoryId( MthCategoryId );
		}

		#endregion
	}
}
